const mongoose = require("mongoose");
mongoose.pluralize(null); //去掉集合后面的s
const { Schema, model } = mongoose;
const versionKey = { versionKey: false };
const moment = require("moment");
moment.locale("zh-cn");
// 关注表
const ConcernSchema = new Schema(
  {
    user_uid: String, //A关注B，A用户的uid
    im_concerned_uid: String, //A关注B，B用户的uid
  },
  versionKey
);
module.exports = {
  modelConcern: model("concern", ConcernSchema),
};
